import axios from "axios"
const request = (config) => {
  const instance = axios.create({
    baseURL: 'http://127.0.0.1:5001/mapping_knowledge_domains/',
    timeout: 5000
  })
  instance.interceptors.response.use((res) => {
    return res.data
  })
  return instance(config)
}
export {
    request
}

